<div id="problem_detail">
	<div class="title"><span>{? $problem_no ?}</span>:<span></span>{? $title ?}</div>
		<fieldset class="sumary">
			<legend>infomations about this problem</legend>
			<table>
			<caption></caption>
				<tr>
					<th>Time Limit</th>
					<th>Memory Limit</th>
					<th>Total Submit</th>
					<th>Accepted Submit</th>
					<th>Best user</th>
					<th>source</th>
				</tr>
				<tr>
					<td>{? $time_limit ?}</td>
					<td>{? $mem_limit ?}</td>
					<td>null</td>
					<td>null</td>
					<td>{? $best_user ?}</td>
					<td>{? $source ?}</td>
				</tr>
			</table>
			</fieldset>
			
			<fieldset>
				<legend>problem content</legend>
				<p>{? $content ?}</p>
			</fieldset>

			<fieldset>
				<legend>input</legend>
				<p>{? $input ?}</p>
			</fieldset>
			
			
			<fieldset>
				<legend>output</legend>
				<p>{? $output ?}</p>
			</fieldset>
			
			<fieldset>
				<legend>sample input</legend>
				<p>{? $sample_input ?}</p>
			</fieldset>
			
			<fieldset>
				<legend>sample output</legend>
				<p>{? $sample_output ?}</p>
			</fieldset>
			
			{? if $tip ?}
			<fieldset>
				<legend>tip</legend>
				<p>{? $tip ?}</p>
			</fieldset>
			{? /if ?}
			
			{?* 如果$ref变量被设置，则表明本页面在code_submit页面被引用,因此以下内容不显示 *?}
			{? if !$ref ?}
			<div class="submit">
				<a class="button" href="/soj/php/code/code_submit.php?problem_no={? $problem_no ?}">Submit</a>
				<a class="button" href="" >Statue</a>
				<a class="button" href="" >discus</a>
				<a class="button" href="" >back</a>
			</div>
			{? /if ?}
</div>	
